<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="java.text.DateFormat"%>
<%@page import="live.common.Format"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD>
<base href="<%=basePath %>" />
<TITLE>机票预订,特价机票预订,打折机票</TITLE>
<META http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<META http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<META content="酒店预订|国内酒店预订|特价酒店预订|机票预订|特价机票|特价机票预订|打折机票|飞机票预订" name="keywords">
<META content="机票预订,特价机票预订,打折机票" name="description">

<LINK href="css/datepicker.css" type="text/css" rel="stylesheet">
<LINK href="css/datepicker1.css" type="text/css" rel="stylesheet">

<SCRIPT src="script/jquery-1.4.2.min.js" type="text/javascript"></SCRIPT>

<LINK media="all" href="css/global.css" type="text/css" rel="stylesheet">
<LINK media="all" href="css/home.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="../script/wpCalendar.js" charset="GBK"></script>
<META content="MSHTML 6.00.2900.5945" name="GENERATOR">
<style type="text/css">
<!--
.STYLE2 {color: #FF0000}
.searchbox {
	BORDER-RIGHT: #2c7eaf 0px solid; BORDER-TOP: #2c7eaf 0px solid; Z-INDEX: 98; BACKGROUND: #fff; BORDER-LEFT: #2c7eaf 0px solid; baCOLOR: #7c7c7c; BORDER-BOTTOM: #2c7eaf 0px solid; POSITION: relative;
	WIDTH:228px;height: 300px; background-image: url('/images/nybg.gif');
}
-->
</style>
</HEAD>
<BODY>
<!--Header include start-->
<!-- top 专题小头部 start -->
<!-- top 专题小头部 end --><!--Header include end--><!--Header End-->
<DIV class="wrapper clearfix" style="WIDTH:228px; height: 300px;"><!--Left Sidebar Begin-->
<!--Left Sidebar End-->
<div class="sidebar-a" style="width: 0px; height: 0px">
				<div class="searchbox">
					<div>
						<form action="flight/queryFlight.do?op=queryFlight" name="form0" method="get" target="_blank"/>
							<input type="hidden" name="op" value="queryFlight" />
							<ul>
									<input name="voyageType" type="hidden" value="1" />

								</li>
						<li class="ovs">

									出发日期
									<%--<input id="fromdate" name="fromdate" type="text"

										class="onsInput datepicker" style="ime-mode:disabled" />--%>
										<input id="fromdate" name="fromDate" type="text"

										class="onsInput datepicker" style="ime-mode:disabled"  onfocus="showCalendar(this)" />

								</li>
								<li>



									出发城市

									<%--<input id="cfromCity" name="cfromCity" type="text" onchange="setInputValue(this.value,this.id);"

										class="onsInput" />--%>

									<input type="hidden" name="fromCity" id="fromCity" value="" />
									<input id="cfromCity" name="fromCityName" type="hidden"	class="onsInput" value="" />
	<select id="cfrom" class="onsInput" onchange="selChange(this,'fromCity','cfromCity');">
	<option value="">--请选择--</option>
	<option value="" disabled="disabled" >－－Ａ－－</option>
	<option value="AKU">阿克苏</option>
	<option value="AAT">阿勒泰</option>
	<option value="AKA">安康</option>
	<option value="AQG">安庆</option>
	<option value="AOG">鞍山</option>
	<option value="AVA">安顺</option>
	<option value="MFM">澳门</option>
	<option value="" disabled="disabled">－－Ｂ－－</option>
	<option value="AEB">百色</option>
	<option value="BSD">保山</option>
	<option value="BAV">包头</option>
	<option value="BHY">北海</option>
	<option value="PEK">北京</option>
	<option value="BFU">蚌埠</option>
	<option value="BPL">博州</option>
	<option value="" disabled="disabled">－－Ｃ－－</option>
	<option value="CGQ">长春</option>
	<option value="CGD">常德</option>
	<option value="CSX">长沙</option>
	<option value="CIH">长治</option>
	<option value="BPX">昌都</option>
	<option value="CZX">常州</option>
	<option value="CHG">朝阳</option>
	<option value="CTU">成都</option>
	<option value="CIF">赤峰</option>
	<option value="CKG">重庆</option>
	<option value="NBS">长白山</option>
	<option value="" disabled="disabled">－－Ｄ－－</option>
	<option value="DAX">达县</option>
	<option value="DLC">大连</option>
	<option value="DLU">大理</option>
	<option value="DDG">丹东</option>
	<option value="DAT">大同</option>
	<option value="DOY">东营</option>
	<option value="DNH">敦煌</option>
	<option value="DIG">迪庆</option>
	<option value="DQA">大庆</option>
	<option value="" disabled="disabled">－－Ｅ－－</option>
	<option value="ENH">恩施</option>
	<option value="DSN">鄂尔多斯</option>
	<option value="ERL">二连浩特</option>
	<option value="" disabled="disabled">－－Ｆ－－</option>
	<option value="FUG">阜阳</option>
	<option value="FYN">富蕴</option>
	<option value="FOC">福州</option>
	<option value="FUO">佛山</option>
	<option value="" disabled="disabled">－－Ｇ－－</option>
	<option value="GOQ">格尔木</option>
	<option value="GHN">广汉</option>
	<option value="GYS">广元</option>
	<option value="GYU">固原</option>
	<option value="CAN">广州</option>
	<option value="KWL">桂林</option>
	<option value="KWE">贵阳</option>
	<option value="KOW">赣州</option>
	<option value="" disabled="disabled">－－Ｈ－－</option>
	<option value="HAK">海口</option>
	<option value="HLD">海拉尔</option>
	<option value="HMI">哈密</option>
	<option value="HGH">杭州</option>
	<option value="HZG">汉中</option>
	<option value="HRB">哈尔滨</option>
	<option value="HFE">合肥</option>
	<option value="HEK">黑河</option>
	<option value="HNY">衡阳</option>
	<option value="HTN">和田</option>
	<option value="HYN">黄岩</option>
	<option value="HET">呼和浩特</option>
	<option value="HDG">邯郸</option>
	<option value="TXN">黄山</option>
	<option value="HIA">淮安</option>
	<option value="" disabled="disabled">－－Ｊ－－</option>
	<option value="JMU">佳木斯</option>
	<option value="KNC">吉安</option>
	<option value="JGN">嘉峪关</option>
	<option value="JIL">吉林</option>
	<option value="TNA">济南</option>
	<option value="JDZ">景德镇</option>
	<option value="JGS">井冈山</option>
	<option value="JNG">济宁</option>
	<option value="JJN">晋江</option>
	<option value="JNZ">锦州</option>
	<option value="JIU">九江</option>
	<option value="CHW">酒泉</option>
	<option value="JXA">鸡西</option>
	<option value="JZH">九寨沟</option>
	<option value="" disabled="disabled">－－Ｋ－－</option>
	<option value="KJI">喀纳斯</option>
	<option value="KRY">克拉玛依</option>
	<option value="KHG">喀什</option>
	<option value="KRL">库尔勒</option>
	<option value="KMG">昆明</option>
	<option value="KCA">库车</option>
	<option value="KGT">康定</option>
	<option value="" disabled="disabled">－－Ｌ－－</option>
	<option value="HZH">黎平</option>
	<option value="LHW">兰州</option>
	<option value="LXA">拉萨</option>
	<option value="LYG">连云港</option>
	<option value="LLB">荔波</option>
	<option value="LJG">丽江</option>
	<option value="LCX">连城</option>
	<option value="LNJ">临沧</option>
	<option value="LYI">临沂</option>
	<option value="LZH">柳州</option>
	<option value="LYA">洛阳</option>
	<option value="LZY">林芝</option>
	<option value="LZO">泸州</option>
	<option value="" disabled="disabled">－－Ｍ－－</option>
	<option value="LUM">芒市</option>
	<option value="MXZ">梅县</option>
	<option value="MIG">绵阳</option>
	<option value="MDG">牡丹江</option>
	<option value="NZH">满洲里</option>
	<option value="OHE">漠河</option>
	<option value="" disabled="disabled">－－Ｎ－－</option>
	<option value="KHN">南昌</option>
	<option value="NAO">南充</option>
	<option value="NKG">南京</option>
	<option value="NNG">南宁</option>
	<option value="NTG">南通</option>
	<option value="NNY">南阳</option>
	<option value="NGB">宁波</option>
	<option value="NLT">那拉提</option>
	<option value="" disabled="disabled">－－Ｐ－－</option>
	<option value="PZI">攀枝花</option>
	<option value="" disabled="disabled">－－Ｑ－－</option>
	<option value="TAO">青岛</option>
	<option value="IQN">庆阳</option>
	<option value="SHP">秦皇岛</option>
	<option value="NDG">齐齐哈尔</option>
	<option value="QUA">泉州</option>
	<option value="JUZ">衢州</option>
	<option value="" disabled="disabled">－－Ｓ－－</option>
	<option value="SYX">三亚</option>
	<option value="SHA">上海</option>
	<option value="SWA">汕头</option>
	<option value="SHS">沙市</option>
	<option value="SHE">沈阳</option>
	<option value="SZX">深圳</option>
	<option value="SJW">石家庄</option>
	<option value="SYM">思茅</option>
	<option value="SZV">苏州</option>
	<option value="" disabled="disabled">－－Ｔ－－</option>
	<option value="TCG">塔城</option>
	<option value="TYN">太原</option>
	<option value="TVS">唐山</option>
	<option value="TSN">天津</option>
	<option value="TNH">通化</option>
	<option value="TGO">通辽</option>
	<option value="TEN">铜仁</option>
	<option value="TCZ">腾冲</option>
	<option value="THQ">天水</option>
	<option value="" disabled="disabled">－－Ｗ－－</option>
	<option value="URC">乌鲁木齐</option>
	<option value="WXN">万县</option>
	<option value="WEF">潍坊</option>
	<option value="WNZ">温州</option>
	<option value="WEH">威海</option>
	<option value="WNH">文山</option>
	<option value="WUH">武汉</option>
	<option value="HLH">乌兰浩特</option>
	<option value="WUX">无锡</option>
	<option value="WUS">武夷山</option>
	<option value="WUZ">梧州</option>
	<option value="WUA">乌海</option>
	<option value="" disabled="disabled">－－Ｘ－－</option>
	<option value="XMN">厦门</option>
	<option value="XIY">西安</option>
	<option value="XFN">襄樊</option>
	<option value="XIC">西昌</option>
	<option value="XIL">锡林浩特</option>
	<option value="XNN">西宁</option>
	<option value="XUZ">徐州</option>
	<option value="ACX">兴义</option>
	<option value="JHG">西双版纳(景洪)</option>
	<option value="" disabled="disabled">－－Ｙ－－</option>
	<option value="ENY">延安</option>
	<option value="YNZ">盐城</option>
	<option value="YNJ">延吉</option>
	<option value="YNT">烟台</option>
	<option value="YBP">宜宾</option>
	<option value="YIH">宜昌</option>
	<option value="INC">银川</option>
	<option value="YIN">伊宁</option>
	<option value="YIW">义乌</option>
	<option value="UYN">榆林</option>
	<option value="YUS">玉树</option>
	<option value="YCU">运城</option>
	<option value="LLF">永州</option>
	<option value="LDS">伊春</option>
	<option value="" disabled="disabled">－－Ｚ－－</option>
	<option value="DYG">张家界</option>
	<option value="ZHA">湛江</option>
	<option value="ZAT">昭通</option>
	<option value="CGO">郑州</option>
	<option value="HJJ">芷江</option>
	<option value="HSN">舟山</option>
	<option value="ZUH">珠海</option>
	<option value="ZYI">遵义</option>
	<option value="ZHY">中卫</option>
			</select>				
								<input type="hidden" name="fromCity" id="fromCity" value="" />
								</li>

								<li class="ovs">

									到达城市

									<%--<input id="ctoCity" name="ctoCity" type="text"  onchange="setInputValue(this.value,this.id);" class="onsInput" />
--%>
									<input type="hidden" name="toCity" id="toCity" value="" />
									<input id="ctoCity" name="toCityName" type="hidden" class="onsInput"  value=""/>
<select id="cto" name="toCity" class="onsInput" onchange="selChange(this,'toCity','ctoCity');">
	<option value="">--请选择--</option>
	<option value="" disabled="disabled" >－－Ａ－－</option>
	<option value="AKU">阿克苏</option>
	<option value="AAT">阿勒泰</option>
	<option value="AKA">安康</option>
	<option value="AQG">安庆</option>
	<option value="AOG">鞍山</option>
	<option value="AVA">安顺</option>
	<option value="MFM">澳门</option>
	<option value="" disabled="disabled">－－Ｂ－－</option>
	<option value="AEB">百色</option>
	<option value="BSD">保山</option>
	<option value="BAV">包头</option>
	<option value="BHY">北海</option>
	<option value="PEK">北京</option>
	<option value="BFU">蚌埠</option>
	<option value="BPL">博州</option>
	<option value="" disabled="disabled">－－Ｃ－－</option>
	<option value="CGQ">长春</option>
	<option value="CGD">常德</option>
	<option value="CSX">长沙</option>
	<option value="CIH">长治</option>
	<option value="BPX">昌都</option>
	<option value="CZX">常州</option>
	<option value="CHG">朝阳</option>
	<option value="CTU">成都</option>
	<option value="CIF">赤峰</option>
	<option value="CKG">重庆</option>
	<option value="NBS">长白山</option>
	<option value="" disabled="disabled">－－Ｄ－－</option>
	<option value="DAX">达县</option>
	<option value="DLC">大连</option>
	<option value="DLU">大理</option>
	<option value="DDG">丹东</option>
	<option value="DAT">大同</option>
	<option value="DOY">东营</option>
	<option value="DNH">敦煌</option>
	<option value="DIG">迪庆</option>
	<option value="DQA">大庆</option>
	<option value="" disabled="disabled">－－Ｅ－－</option>
	<option value="ENH">恩施</option>
	<option value="DSN">鄂尔多斯</option>
	<option value="ERL">二连浩特</option>
	<option value="" disabled="disabled">－－Ｆ－－</option>
	<option value="FUG">阜阳</option>
	<option value="FYN">富蕴</option>
	<option value="FOC">福州</option>
	<option value="FUO">佛山</option>
	<option value="" disabled="disabled">－－Ｇ－－</option>
	<option value="GOQ">格尔木</option>
	<option value="GHN">广汉</option>
	<option value="GYS">广元</option>
	<option value="GYU">固原</option>
	<option value="CAN">广州</option>
	<option value="KWL">桂林</option>
	<option value="KWE">贵阳</option>
	<option value="KOW">赣州</option>
	<option value="" disabled="disabled">－－Ｈ－－</option>
	<option value="HAK">海口</option>
	<option value="HLD">海拉尔</option>
	<option value="HMI">哈密</option>
	<option value="HGH">杭州</option>
	<option value="HZG">汉中</option>
	<option value="HRB">哈尔滨</option>
	<option value="HFE">合肥</option>
	<option value="HEK">黑河</option>
	<option value="HNY">衡阳</option>
	<option value="HTN">和田</option>
	<option value="HYN">黄岩</option>
	<option value="HET">呼和浩特</option>
	<option value="HDG">邯郸</option>
	<option value="TXN">黄山</option>
	<option value="HIA">淮安</option>
	<option value="" disabled="disabled">－－Ｊ－－</option>
	<option value="JMU">佳木斯</option>
	<option value="KNC">吉安</option>
	<option value="JGN">嘉峪关</option>
	<option value="JIL">吉林</option>
	<option value="TNA">济南</option>
	<option value="JDZ">景德镇</option>
	<option value="JGS">井冈山</option>
	<option value="JNG">济宁</option>
	<option value="JJN">晋江</option>
	<option value="JNZ">锦州</option>
	<option value="JIU">九江</option>
	<option value="CHW">酒泉</option>
	<option value="JXA">鸡西</option>
	<option value="JZH">九寨沟</option>
	<option value="" disabled="disabled">－－Ｋ－－</option>
	<option value="KJI">喀纳斯</option>
	<option value="KRY">克拉玛依</option>
	<option value="KHG">喀什</option>
	<option value="KRL">库尔勒</option>
	<option value="KMG">昆明</option>
	<option value="KCA">库车</option>
	<option value="KGT">康定</option>
	<option value="" disabled="disabled">－－Ｌ－－</option>
	<option value="HZH">黎平</option>
	<option value="LHW">兰州</option>
	<option value="LXA">拉萨</option>
	<option value="LYG">连云港</option>
	<option value="LLB">荔波</option>
	<option value="LJG">丽江</option>
	<option value="LCX">连城</option>
	<option value="LNJ">临沧</option>
	<option value="LYI">临沂</option>
	<option value="LZH">柳州</option>
	<option value="LYA">洛阳</option>
	<option value="LZY">林芝</option>
	<option value="LZO">泸州</option>
	<option value="" disabled="disabled">－－Ｍ－－</option>
	<option value="LUM">芒市</option>
	<option value="MXZ">梅县</option>
	<option value="MIG">绵阳</option>
	<option value="MDG">牡丹江</option>
	<option value="NZH">满洲里</option>
	<option value="OHE">漠河</option>
	<option value="" disabled="disabled">－－Ｎ－－</option>
	<option value="KHN">南昌</option>
	<option value="NAO">南充</option>
	<option value="NKG">南京</option>
	<option value="NNG">南宁</option>
	<option value="NTG">南通</option>
	<option value="NNY">南阳</option>
	<option value="NGB">宁波</option>
	<option value="NLT">那拉提</option>
	<option value="" disabled="disabled">－－Ｐ－－</option>
	<option value="PZI">攀枝花</option>
	<option value="" disabled="disabled">－－Ｑ－－</option>
	<option value="TAO">青岛</option>
	<option value="IQN">庆阳</option>
	<option value="SHP">秦皇岛</option>
	<option value="NDG">齐齐哈尔</option>
	<option value="QUA">泉州</option>
	<option value="JUZ">衢州</option>
	<option value="" disabled="disabled">－－Ｓ－－</option>
	<option value="SYX">三亚</option>
	<option value="SHA">上海</option>
	<option value="SWA">汕头</option>
	<option value="SHS">沙市</option>
	<option value="SHE">沈阳</option>
	<option value="SZX">深圳</option>
	<option value="SJW">石家庄</option>
	<option value="SYM">思茅</option>
	<option value="SZV">苏州</option>
	<option value="" disabled="disabled">－－Ｔ－－</option>
	<option value="TCG">塔城</option>
	<option value="TYN">太原</option>
	<option value="TVS">唐山</option>
	<option value="TSN">天津</option>
	<option value="TNH">通化</option>
	<option value="TGO">通辽</option>
	<option value="TEN">铜仁</option>
	<option value="TCZ">腾冲</option>
	<option value="THQ">天水</option>
	<option value="" disabled="disabled">－－Ｗ－－</option>
	<option value="URC">乌鲁木齐</option>
	<option value="WXN">万县</option>
	<option value="WEF">潍坊</option>
	<option value="WNZ">温州</option>
	<option value="WEH">威海</option>
	<option value="WNH">文山</option>
	<option value="WUH">武汉</option>
	<option value="HLH">乌兰浩特</option>
	<option value="WUX">无锡</option>
	<option value="WUS">武夷山</option>
	<option value="WUZ">梧州</option>
	<option value="WUA">乌海</option>
	<option value="" disabled="disabled">－－Ｘ－－</option>
	<option value="XMN">厦门</option>
	<option value="XIY">西安</option>
	<option value="XFN">襄樊</option>
	<option value="XIC">西昌</option>
	<option value="XIL">锡林浩特</option>
	<option value="XNN">西宁</option>
	<option value="XUZ">徐州</option>
	<option value="ACX">兴义</option>
	<option value="JHG">西双版纳(景洪)</option>
	<option value="" disabled="disabled">－－Ｙ－－</option>
	<option value="ENY">延安</option>
	<option value="YNZ">盐城</option>
	<option value="YNJ">延吉</option>
	<option value="YNT">烟台</option>
	<option value="YBP">宜宾</option>
	<option value="YIH">宜昌</option>
	<option value="INC">银川</option>
	<option value="YIN">伊宁</option>
	<option value="YIW">义乌</option>
	<option value="UYN">榆林</option>
	<option value="YUS">玉树</option>
	<option value="YCU">运城</option>
	<option value="LLF">永州</option>
	<option value="LDS">伊春</option>
	<option value="" disabled="disabled">－－Ｚ－－</option>
	<option value="DYG">张家界</option>
	<option value="ZHA">湛江</option>
	<option value="ZAT">昭通</option>
	<option value="CGO">郑州</option>
	<option value="HJJ">芷江</option>
	<option value="HSN">舟山</option>
	<option value="ZUH">珠海</option>
	<option value="ZYI">遵义</option>
	<option value="ZHY">中卫</option>
			</select>	
									<input type="hidden" name="toCity" id="toCity" value="" />
								</li>

							</ul>

							<%--<div class="opt-g">

								<%--<a href="javascript:void(0)" class="optM">高级查询选项▼</a>

							<%--<p>首选舱位/修改送票城市/需要婴儿票</p>

							</div>--%>
							<dl class="sMore" style="display: block">

								<dt style="padding-left: 10px">

									<span>首选舱位&nbsp;<input type="radio" id="cabinUsed" name="cabinUsed" value="" checked="checked"/><label for="cabinUsed">所有</label>
									&nbsp;<input type="radio" id="cabinUsed_B" name="cabinUsed" value="B"/><label for="cabinUsed_B">经济舱</label></span>
								</dt>

								<dd>

									<span><input type="radio" id="cabinUsed_Y" name="cabinUsed" value="Y"/>

									<label for="cabinUsed_Y">全价舱</label></span>

									<span><input name="cabinUsed" id="cabinUsed_C" type="radio" value="C" />

									<label for="cabinUsed_C">商务舱</label></span>

									<span><input name="cabinUsed" id="cabinUsed_F" type="radio" value="F" />

									<label for="cabinUsed_F">头等舱</label></span>

								</dd>
							</dl>

							<div class="cxb">

								<input type="hidden" name="voyageTypevalue" id="voyageTypevalue"

									value="1" />

								<input name="button" type="button" class="searchform" value="查询"

									onclick="goSearch();return false;"/>
								<input type="hidden" class="gra" value="" />
							</div>

						</form>
					</div>

				</div>
			</div>
<!--Right Sidebar Begin-->
		<script type="text/javascript">
			function selChange(obj,hid,tid){
				$('#'+hid).val($(obj).val());
				$('#'+tid).val($(obj).find('option:selected').text());
				if($.trim($(obj).val())==''){$(obj).data('status',0);$('#'+tid).val('');};
			}
			function goSearch(){
			$('.gra').data('status',1);
			var today=new Date('<%=Format.getInstance().dateFormatString(new Date(),"yyyy/MM/dd")%>');
			var fromDate=new Date($('#fromdate').val().replace('-','/'));
			alert(fromDate);
			if(fromDate<today){alert('出发时间不得小于当前时间');$('#fromdate').focus();$('.gra').data('status',0);return false;}
			var cto=$.trim($('#cto').val());
			var cfrom=$.trim($('#cfrom').val())
			if(cfrom==''){alert('请选择出发城市');$('#cfrom').focus();$('.gra').data('status',0);return false;}
			if(cto==''){alert('请选择到达城市');$('#cto').focus();$('.gra').data('status',0);return false;}
			if(cto==cfrom){alert('到达城市不得与出发城市相同');$('#cto').focus();$('.gra').data('status',0);return false;}
			if($('.gra').data('status')==1){$('form:first').submit();}
			}
			initDate();
			function initDate(){
				var date = new Date(<%=new Date().getTime()%>+24*60*60*1000);
				var year=date.getFullYear();
				var month=date.getMonth()+1;
				if(parseInt(month)<10){month='0'+month;}
				var day=date.getDate();
				if(parseInt(day)<10){day='0'+day;}
				$('#fromdate').val(year+'-'+month+'-'+day)
			}
		</script></DIV>
</BODY></HTML>
